CLEANFILES = *.o *.out server
CXXFLAGS = -g -D_REENTRANT -Wall
#LDFLAGS = -L/usr/local/protobuf/lib
LIBS = -levent -lpthread -levent_pthreads
OBJECT = csapp.o parse.o server.o netevent.o tcp_listen.o \
	sem.o epoll_loop.o worker.o
CC = g++

server: ${OBJECT}
	${CC} ${CXXFLAGS} -o $@ ${OBJECT} ${LIBS} #${LDFLAGS} 

clean:
	rm -f ${CLEANFILES}
